MemoryInUse
MemoryInUse[] gives the number of bytes currently being used to store all data in the current Wolfram Language kernel session.
MemoryInUse[$FrontEnd] gives the number of bytes used in the Wolfram System front end.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.